<?php
/**
 * 分类下属品牌block文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	brand
 */
if (is_object($objWebInit)) {
	if(!isset($objbrand)){
		include_once(__WEB_ROOT.'/brand/class/brand.class.php');
		include_once(__WEB_ROOT.'/brand/config/var.inc.php');
		$objbrand =& new brand();
		$objbrand->setDBG($arrGPdoDB);
		if(is_object($objWebInit->db)) $objbrand->db = $objWebInit->db;
		else $objbrand->db();
	}

	$arrTopInfo = array();
	$arrTopInfo=$objbrand->getBrandWithProductType($_GET['type_id']);

	// 输出到模板
	$arrMOutput["smarty_assign"]['arrChildType'] = $arrTopInfo;
}
?>